package com.szq.pattern;

/**
 * @description:
 * @author: szq
 * @date: 2021-09-02 16:54:47
 */
public class EBook implements IPrototype {

    @Override
    public IPrototype clone() throws CloneNotSupportedException {
        System.out.println("Cloning Book object..");
        return (EBook) super.clone();
    }

    @Override
    public String toString() {
        return "EBook{}";
    }
}
